def fun02(func):
    def fun01():
        return func()+1
    return fun01
def func():
    print("func()函数")
    return 1
func = fun02(func)
print(func())
print("")

def fun02(func):
    def fun01():
        return func()+1
    return fun01
@fun02
def func():
    print("func()函数")
    return 1
print(func())
print("")

def fun02(func):
    def fun01(a,b):
        return func(a+1,b+1)
    return fun01
@fun02
def func(a,b):
    print("func()函数")
    return a**2+b**2
print(func(1,1))
